import Home from '../pages/Home'
import Register from '../pages/Register'
import Login from '../pages/Login'
import Index from '../pages/Index'
import Publish from '../pages/Publish'
import Detail from '../pages/Detail'

const routerConfig = [
    {
        path: '/',
        component: Home,
        meta: {
            title: 'django'
        }
    },
    {
        path: '/login',
        component: Login,
        meta: {
            title: 'flask-login'
        }
    },
    {
        path: '/register',
        component: Register,
        meta: {
            title: 'flask-register'
        }
    },
    {
        path: '/index',
        component: Index,
        meta: {
            title: 'flask-index'
        }
    },
    {
        path: '/publish',
        component: Publish,
        meta: {
            title: 'flask-publish'
        }
    },
    {
        path: '/detail',
        component: Detail,
        meta: {
            title: 'flask-detail'
        }
    }
]
export default routerConfig